package com.itheima.service;

import com.itheima.domain.City;
import com.itheima.domain.User;

import java.util.List;

public interface UserService {

    public User findOne(String email,String password );

    List<User> findList(Integer pageNum,Integer pageSize);

    void add(User user);

    List<City> findAll();

    City findByCId(Integer cid);
}
